package io.xccit.train.common.props;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author CH_ywx
 * @version 1.0
 * @create 2024/11/9
 * <p>Token配置</p>
 */
@Configuration
@ConfigurationProperties(prefix = "train.jwt")
public class TokenConfigProperties {

    private String secret;

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    @Override
    public String toString() {
        return "TokenConfigProperties{" +
                "secret='" + secret + '\'' +
                '}';
    }
}
